package com.qunar.wan.common_api.model;


import com.qunar.wan.common_api.model.enums.EmailType;

import java.io.Serializable;

/**
 * User: devry Date: 12/18/13 Time: 11:27 AM
 */
public class EmailTask implements Serializable {
    private static final long serialVersionUID = 6819824296085317931L;
    private int id;
    private EmailType emailType; // 邮件类型
    private int actId; // 活动id
    private String userEmail; // 用户id

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public EmailType getEmailType() {
        return emailType;
    }

    public void setEmailType(EmailType emailType) {
        this.emailType = emailType;
    }

    public int getActId() {
        return actId;
    }

    public void setActId(int actId) {
        this.actId = actId;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    @Override
    public String toString() {
        return "EmailTask{" + "id=" + id + ", emailType=" + emailType.code() + ", actId=" + actId + ", userEmail='"
                + userEmail + '\'' + '}';
    }
}
